#ifndef CREDITS_H_
#define CREDITS_H_

#include "requirement.h"

/// Minimum number of credits requirement.
class Credits : public Requirement {
    double credits_;
    
public:
    Credits(const double&);
    
    bool evaluate(Context&);
    std::string to_string(Context&);
    std::size_t count(Context&);
    std::list<Course> courses();
};

#endif
